import React from 'react';
import './App.css';
import Login from 'pages/login'
import MainLayout from "@/layout/MainLayout";
import BlogLayout from "@/layout/BlogLayout";
import {BrowserRouter, Route} from 'react-router-dom';


export default () => (
  <BrowserRouter>
    <Route path="/" exact={true} component={MainLayout}/>
    <Route path="/blog" exact={true} component={BlogLayout}/>
    <Route path="/login" component={Login}/>
  </BrowserRouter>
);

